Skip to content

lint python scripts in dev-tools #14318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 1, 2025
Merged

Conversation

rmuir
Copy link
Member

@rmuir rmuir commented Mar 1, 2025

These scripts are important, but have zero static analysis, type-checking, or formatting.

Add simple make-based build with CI hook for this.

Format check is not yet enabled, we should "make reformat" and commit the changes separately.

Any failing violations are disabled, we can iteratively enable them.

This is similar to the hook added to luceneutil to start cleaning up the python there.

These scripts are important, but have zero static analysis,
type-checking, or formatting.

Add simple make-based build with CI hook for this.

Format check is not yet enabled, we should "make reformat" and commit
the changes separately.

Any failing violations are disabled, we can iteratively enable them.
@rmuir rmuir requested a review from dweiss March 1, 2025 14:11
@rmuir
Copy link
Member Author

rmuir commented Mar 1, 2025

If we are ok with it, I would want to backport these changes and cleanups to 10.x branch, too, so that things start to become easier.

@rmuir
Copy link
Member Author

rmuir commented Mar 1, 2025

I will followup with changes to iterate. mainly want to detect common mistakes as a start, then it won't be so terrifying to change or review these files

@rmuir rmuir merged commit 00e43ae into apache:main Mar 1, 2025
8 checks passed
asfgit pushed a commit that referenced this pull request Mar 1, 2025
These scripts are important, but have zero static analysis, type-checking, or formatting.

Add simple make-based build with CI hook for this.

Format check is not yet enabled, we should "make reformat" and commit
the changes separately.

Any failing violations are disabled, we can iteratively enable them.
hanbj pushed a commit to hanbj/lucene that referenced this pull request Mar 12, 2025
These scripts are important, but have zero static analysis, type-checking, or formatting.

Add simple make-based build with CI hook for this.

Format check is not yet enabled, we should "make reformat" and commit
the changes separately.

Any failing violations are disabled, we can iteratively enable them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants